
package com.bcurtu.db;

import java.util.Date;
import java.util.List;

public interface AccountDao {
	public boolean isValidAlias(String alias);
	
	public void insertAccount(Account acc);

	public void updateAccount(Account acc);

	public int blockAccount(String alias);
	
	public int deleteExpiredAccounts(Date date);

	public int forceDeleteAccount(String alias);

	public List<Account> getBlockingAccounts(Date date);
	
	public Account getAccountByAliasAndForward(String alias, String forward);

}
